package com.wms.project.business.customer.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.wms.framework.web.domain.BaseEntity;

/**
 * 企业客户表 customer
 * 
 * @author zhangp
 * @date 2019-07-26
 */
public class Customer extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 客户id */
	private Long id;
	/** 客户编码 */
	private String code;
	/** 客户名称 */
	private String name;
	/** 组织机构代码 */
	private String orgCode;
	/** 所属行业 */
	private Integer industry;
	/** 客户地址 */
	private Long addressId;
	/** 企业负责人 */
	private String headName;
	/** 联系电话 */
	private String mobile;
	/** 电话号码 */
	private String telephone;
	/** 邮箱 */
	private String email;
	/** 公司主页地址 */
	private String website;
	/** 创建人id */
	private Long creatorId;
	/** 创建人名称 */
	private String creatorName;
	/** 更新人id */
	private Long updatorId;
	/** 更新人名称 */
	private String updatorName;

	public void setId(Long id) 
	{
		this.id = id;
	}

	public Long getId() 
	{
		return id;
	}
	public void setCode(String code) 
	{
		this.code = code;
	}

	public String getCode() 
	{
		return code;
	}
	public void setName(String name) 
	{
		this.name = name;
	}

	public String getName() 
	{
		return name;
	}
	public void setOrgCode(String orgCode) 
	{
		this.orgCode = orgCode;
	}

	public String getOrgCode() 
	{
		return orgCode;
	}
	public void setIndustry(Integer industry) 
	{
		this.industry = industry;
	}

	public Integer getIndustry() 
	{
		return industry;
	}
	public void setAddressId(Long addressId) 
	{
		this.addressId = addressId;
	}

	public Long getAddressId() 
	{
		return addressId;
	}
	public void setHeadName(String headName) 
	{
		this.headName = headName;
	}

	public String getHeadName() 
	{
		return headName;
	}
	public void setMobile(String mobile) 
	{
		this.mobile = mobile;
	}

	public String getMobile() 
	{
		return mobile;
	}
	public void setTelephone(String telephone) 
	{
		this.telephone = telephone;
	}

	public String getTelephone() 
	{
		return telephone;
	}
	public void setEmail(String email) 
	{
		this.email = email;
	}

	public String getEmail() 
	{
		return email;
	}
	public void setWebsite(String website) 
	{
		this.website = website;
	}

	public String getWebsite() 
	{
		return website;
	}
	public void setCreatorId(Long creatorId) 
	{
		this.creatorId = creatorId;
	}

	public Long getCreatorId() 
	{
		return creatorId;
	}
	public void setCreatorName(String creatorName) 
	{
		this.creatorName = creatorName;
	}

	public String getCreatorName() 
	{
		return creatorName;
	}
	public void setUpdatorId(Long updatorId) 
	{
		this.updatorId = updatorId;
	}

	public Long getUpdatorId() 
	{
		return updatorId;
	}
	public void setUpdatorName(String updatorName) 
	{
		this.updatorName = updatorName;
	}

	public String getUpdatorName() 
	{
		return updatorName;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("code", getCode())
            .append("name", getName())
            .append("orgCode", getOrgCode())
            .append("industry", getIndustry())
            .append("addressId", getAddressId())
            .append("headName", getHeadName())
            .append("mobile", getMobile())
            .append("telephone", getTelephone())
            .append("email", getEmail())
            .append("website", getWebsite())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("creatorId", getCreatorId())
            .append("creatorName", getCreatorName())
            .append("updatorId", getUpdatorId())
            .append("updatorName", getUpdatorName())
            .append("remark", getRemark())
            .toString();
    }
}
